﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iterator
{
    class NameContainer : Container
    {
        string[] list = { "Jack", "Lili", "Lucy" };
        public Iterator GetIterator()
        {
            return new NameIterator(this.list);
        }
    }
}
